package org.ztr.yanai.blog.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @Author: ZhaoTR
 * @Date: Created in 2025/11/22 10:00
 * @Description: 文章分类关联表实体类
 * @Version: 1.0
 */
// 文章分类
@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("post_category")
public class PostCategory {
    @TableField("post_id")
    private Long postId;
    
    @TableField("category_id")
    private Long categoryId;
}